package net.ermannofranco.genericdaojdbc.model;

/**
 * Entity che ha un campo version
 * 
 * @author ermanno (ermanno.franco@gmail.com)
 * 
 * @param <K>
 */
public abstract class VersionedEntity<K extends Number> extends Entity<K> {

	private static final long serialVersionUID = -340360582322312495L;
	private int version;

	public int getVersion() {
		return version;
	}

	public void setVersion(int version) {
		this.version = version;
	}

}
